<%@page import="com.liferay.portal.kernel.util.GetterUtil"%>
<%@ include file="/html/init.jsp" %>

<liferay-ui:header title="portlet-edit"/>

<portlet:actionURL var="setPreferencesURL" name="setPreferences"/>

<%
	int daysToReturn = GetterUtil.getInteger(portletPreferences.getValue("days-to-return", "20"));
%>

<aui:form action="<%= setPreferencesURL %>">
	<aui:input name="daysToReturn" value="<%= daysToReturn %>"/>
	<aui:button type="submit"/>
</aui:form>